package com.luo.demo.sharding.jdbc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luo.demo.sharding.jdbc.model.entity.Product;
import com.luo.demo.sharding.jdbc.model.param.ProductListParam;
import com.luo.demo.sharding.jdbc.model.param.ProductPageParam;

import java.util.List;

/**
 * <p>
 * 商品信息 Mapper 接口
 * </p>
 *
 * @author luohq
 * @since 2021-10-22
 */
public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 查询商品列表
     *
     * @param productListParam
     * @return
     */
    List<Product> selectList(ProductListParam productListParam);
}
